﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class GunlukEnOlcumleri : XForm
    {
        public GunlukEnOlcumleri()
        {
            InitializeComponent();
        }

        private void GunlukEnOlcumleri_Load(object sender, EventArgs e)
        {
            
            
            gridView1.Init("GetEnOlcumleri");
            gridView1.AddDetailGrid(gridView2, "Gun");
            gridView1.AddSummary("Adet");
            gridView1.Columns["Gun"].DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            gridView1.Columns["Gun"].DisplayFormat.FormatString = "d"; //G
            gridView1.BestFitColumns();

            gridView2.AddSummary();
            gridView2.Columns["Gun"].Visible = false;
            gridView2.BestFitColumns();

            //gridView2.Columns["DosyaNo"].OptionsFilter.FilterPopupMode = FilterPopupMode.CheckedList;

        }
    }
}